package developer.zyk.ability.chat.ability.memory.msgHandler;

import developer.zyk.ability.chat.dao.entity.ChatHistoryDetailDO;
import org.springframework.ai.chat.messages.Message;

/**
 * @author zhangyongkang
 * @time 2025/5/12 16:25
 * @description
 */
public interface MessageHandler {

    Message handle(ChatHistoryDetailDO chatHistoryDetailDO);

    void add(Message message, Long chatId);
}
